package cn.edu.cqupt.dao;

import java.util.HashMap;
import java.util.List;

import cn.edu.cqupt.model.Classnews;

public interface ClassnewsMapper {
    int deleteByPrimaryKey(String newid);

    int insert(Classnews record);

    int insertSelective(Classnews record);

    Classnews selectByPrimaryKey(String newid);

    int updateByPrimaryKeySelective(Classnews record);

    int updateByPrimaryKeyWithBLOBs(Classnews record);

    int updateByPrimaryKey(Classnews record);

	int selectNewsCount();

	List<Classnews> selectNewsBypage(HashMap<String, Object> params);
}